package com.snake.springboot.custom.api.service.points;

import com.snake.springboot.custom.api.model.base.CallbackModel;
import com.snake.springboot.custom.api.model.points.PointsRgeRecordModel;
import com.snake.springboot.custom.api.request.page.PageQuery;
import com.snake.springboot.custom.api.request.points.PointsRechargeReq;
import com.snake.springboot.custom.api.request.points.PointsRetReq;
import com.snake.springboot.custom.api.request.points.PointsRgeRecordQuery;
import com.snake.springboot.custom.api.response.points.PointsRechargeRsp;
import org.snake.common.result.ReturnList;

public interface PointsRgeRecordService{

    PointsRgeRecordModel addPointsRgeRecord(PointsRgeRecordModel model);

    void modifyPointsRgeRecord(PointsRgeRecordModel model);

    void removePointsRgeRecord(String id);

    ReturnList<PointsRgeRecordModel> queryPointsRgeRecordList(PageQuery<PointsRgeRecordQuery> params);

    PointsRechargeRsp recharge(PointsRechargeReq model);

    void callback(CallbackModel model);

    void pointsRet(PointsRetReq model);

}
